package com.listen.model;

import java.io.Serializable;

public class StartFlag implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * cookie信息保存线程启动标识，0不可以启动，1可以启动
     */
    private Integer cookieStartFlag;

    /**
     * 听课线程启动标识 0不可以启动，1可以启动
     */
    private Integer listenStartFlag;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCookieStartFlag() {
        return cookieStartFlag;
    }

    public void setCookieStartFlag(Integer cookieStartFlag) {
        this.cookieStartFlag = cookieStartFlag;
    }

    public Integer getListenStartFlag() {
        return listenStartFlag;
    }

    public void setListenStartFlag(Integer listenStartFlag) {
        this.listenStartFlag = listenStartFlag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cookieStartFlag=").append(cookieStartFlag);
        sb.append(", listenStartFlag=").append(listenStartFlag);
        sb.append("]");
        return sb.toString();
    }
}